fix(contracts): point kitty specs at canonical protocol matrices - #159
fix(contracts): point kitty specs at canonical protocol matrices#159KooshaPari wants to merge 1 commit into
Conversation
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Compliance Check ✅All constitution compliance checks passed! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd42ef7e1c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| @@ -1 +1 @@ | |||
| apps/runtime/tests/contracts No newline at end of file | |||
| docs/specs No newline at end of file | |||
There was a problem hiding this comment.
Point kitty-specs at assets matching the formal surface
When apps/runtime/tests/unit/protocol/protocol_parity_gate.test.ts runs its canonical-surface case, this target makes the gate read the stale matrix and schema under docs/specs: node tools/gates/protocol-parity.mjs reports missing recovery/secrets topics and unknown boundary entries, so the assertion at lines 35–38 fails. Retarget this symlink to synchronized assets, or update the docs/specs matrix and schema to match the current formal method/topic surface.
Useful? React with 👍 / 👎.
Please ensure all checks pass before merging. |
Quality Gate Report✅ Unit Tests: PASSED |
Code Review SummaryStatus: 1 Issue Found | Recommendation: Request Changes (blocks merge) Overview
Issue Details (click to expand)CRITICAL
Files Reviewed (1 files)
Fix these issues in Kilo Cloud Previous Review Summary (commit dd42ef7)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit dd42ef7)Status: 1 Issue Found | Recommendation: Request Changes (blocks merge) Overview
Issue Details (click to expand)CRITICAL
Files Reviewed (1 files)
Reviewed by free · Input: 38.1K · Output: 4.1K · Cached: 50K |
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Compliance Check ✅All constitution compliance checks passed! |
Please ensure all checks pass before merging. |
dfc7f7e to
4778816
Compare
|
Please ensure all checks pass before merging. |
Quality Gate Report✅ Unit Tests: PASSED |
Compliance Check ✅All constitution compliance checks passed! |
1 similar comment
Compliance Check ✅All constitution compliance checks passed! |
Please ensure all checks pass before merging. |
Quality Gate Report✅ Unit Tests: PASSED |



Closing — reviewer caught a real issue
Reviewed by: codeant-code-review[bot]
Verdict: Valid blocker; closing rather than overriding.
What this PR would have done
Changed
kitty-specssymlink fromapps/runtime/tests/fixtures/protocol-parity/pass/kitty-specs→docs/specs, making the protocol-parity gate read fromdocs/specs/001-colab-agent-terminal-control-plane/contracts/protocol-parity-matrix.json.Why it's blocked
docs/specsmatrix declares 41 topics but the runtime only implements 33. Swapping the symlink would expose 8 missing topics that are in the spec but not in the runtime:The protocol-parity gate validates that every topic/method in the formal surface exists in the parity matrix. With the symlink pointing to
docs/specs, the gate would fail because the runtime does not emit those 8 topics.Required preconditions before this can merge
apps/runtime/tests/fixtures/protocol-parity/pass/kitty-specs/) is updated to matchdocs/specs, ORPre-existing work
docs/specsmatrix was authored with the full formal surface (41 topics, 27 methods) to serve as the canonical source. The runtime test fixture is a snapshot taken at the time the gate was introduced and has not been kept in sync.Saved as: Draft issue/follow-up tracking the 8-topic gap and the two-source reconciliation problem.